
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% load static %}
    <!-- css -->
    <link rel="stylesheet" href="{% static 'chat/css/index.css' %}">
    <title>ChatRoom login</title>
</head>

<body>
    
    <!-- html -->
    <div class="container">
        <div class="title">
            <h3>登 录</h3>
        </div>
        <form class="login" action="/chat/chatroom" mathod="POST" onsubmit="return login()">
            <label class="lbl" for="input-box">请输入昵称:
                <input id="input-box" type="text">
            </label>
            <input class="btn" type="submit" value="进入聊天室" />
        </form>
    </div>
    
    <!-- js -->
    <script src="{% static 'chat/js/index.js' %}"></script>
    
</body>

</html>